#-*- coding:utf-8 -*-
# Author:Ami

# import json
import pickle
def sayhi(name):
    print("hello",name)
    print("hello2", name)

f= open("test.test","rb")

data = pickle.load(f) # = data = pickle.loads(f.read())
f.close()

print(data['func']("ami"))